//
//  ClothesItemView.h
//  W2MD
//
//  Created by zhudongwei on 14/11/18.
//  Copyright (c) 2014年 zhudongwei. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum _ClothesStatusType
{
    EM_CST_None,
    EM_CST_Clicked,
}ClothesStatusType;

@protocol ClothesItemViewDelegate;

@interface ClothesItemView : UIView
@property(nonatomic,strong) UIButton *btn;
@property(nonatomic,strong) UILabel *lbl;
@property(nonatomic,assign) BOOL clicked;
@property(nonatomic,assign) id<ClothesItemViewDelegate> clothesIVDelegate;

@property(nonatomic,assign) int infoTag;
@property(nonatomic,assign) ClothesStatusType cstype;
@property(nonatomic,strong) NSMutableDictionary *infodic;


-(void)showEditIcon:(BOOL)flag;
-(void)setDefaultClick;
-(void)showBtnStatusHL:(BOOL)flag;
@end


@protocol ClothesItemViewDelegate <NSObject>

-(void)itemClickWith:(ClothesItemView*)clothesIV;
-(void)itemLongPressWith:(ClothesItemView*)clothesIV;
-(void)itemDelete:(ClothesItemView*)clothesIV;

@end